﻿<%@ Page Language="C#" MasterPageFile="~/Globals/GenericMasterPage.master" AutoEventWireup="true" CodeFile="ParametrosControlEspecie.aspx.cs" Inherits="Modules_EnfermedadesControlEstanque_ParametrosControlEspecie" Title="Untitled Page" %>
<%@ Register Src="../../Controls/TecnoPezPopUp.ascx" TagName="TecnoPezPopUp" TagPrefix="uc3" %>

<%@ Register Src="../../Controls/TecnopezDataGRIDABMView.ascx" TagName="TecnopezDataGRIDABMView"
    TagPrefix="uc2" %>

<%@ Register Src="../../Controls/TecnoPezUpdateProgress.ascx" TagName="TecnoPezUpdateProgress"
    TagPrefix="uc1" %>


<%@ Register Assembly="WebUtils" Namespace="WebUtils.Controls" TagPrefix="wuc" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<%@ Register Assembly="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    Namespace="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    TagPrefix="cc2" %>
    
<asp:Content ID="Content1" ContentPlaceHolderID="CPHPrincipal" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
<asp:Wizard id="wzrABM" runat="server" DisplaySideBar="False" Font-Size="0.8em" Font-Names="Verdana" BorderWidth="0px" BorderColor="#B5C7DE" ActiveStepIndex="0">
<StepStyle ForeColor="#333333" Font-Size="0.8em" VerticalAlign="Top"></StepStyle>

<SideBarStyle BackColor="#507CD1" Font-Size="0.9em" VerticalAlign="Top"></SideBarStyle>

<NavigationButtonStyle BackColor="White" BorderStyle="Solid" ForeColor="#284E98" BorderWidth="1px" BorderColor="#507CD1" Font-Size="0.8em" Font-Names="Verdana"></NavigationButtonStyle>
<WizardSteps>
<asp:WizardStep runat="server" ID="wzrBusqueda" Title="Busqueda" StepType="Complete"><TABLE style="WIDTH: 100%" id="TableData" cellSpacing=0><TBODY><TR><TD class="cabeceraTabla" colSpan=3>Seleccione Especie</TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Nombre" Width="200px" ID="lblBuscarNombre" __designer:wfdid="w50"></asp:Label>
 </TD><TD style="WIDTH: 210px" class="columnaData"><asp:TextBox runat="server" Width="200px" ID="txtBuscarNombre" __designer:wfdid="w51"></asp:TextBox>
 </TD><TD vAlign=top rowSpan=2><asp:Button runat="server" ID="cmdBuscar" Width="102px" CssClass="Boton" Text="Buscar" Height="23px" BorderStyle="None" __designer:wfdid="w52"></asp:Button>
 </TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels">&nbsp;</TD><TD style="WIDTH: 210px" class="columnaData">&nbsp;</TD></TR><TR><TD style="HEIGHT: 170px" colSpan=3><wuc:TecnoPezDataGrid runat="server" ID="TgrdEspecie" Width="100%" CellPadding="4" EmptyDataText="No hay resultados." CssClass="Grilla" __designer:wfdid="w53" OnRowCommand="TgrdEspecie_RowCommand">
<HeaderStyle ForeColor="White" CssClass="GrdHeader"></HeaderStyle>

<AlternatingRowStyle CssClass="GrdAlternatingRow"></AlternatingRowStyle>

<RowStyle CssClass="GrdRow"></RowStyle>

<PagerStyle ForeColor="White" CssClass="GrdPager"></PagerStyle>
</wuc:TecnoPezDataGrid>
 </TD></TR></TBODY></TABLE></asp:WizardStep>
<asp:WizardStep runat="server" ID="wzrEdicion" Title="Edicion" StepType="Complete"><TABLE cellSpacing=0 width="100%"><TBODY><TR><TD style="HEIGHT: 20px" class="cabeceraTabla" colSpan=4>Datos del parámetro de control</TD></TR><TR><TD style="WIDTH: 200px; HEIGHT: 26px" class="columnaLabels"><asp:Label runat="server" Text="C&#243;digo especie" Width="200px" ID="Label1" __designer:wfdid="w24"></asp:Label>
 </TD><TD style="WIDTH: 205px; HEIGHT: 26px" class="columnaData"><asp:TextBox runat="server" Width="200px" ID="txtIDEspecie" __designer:wfdid="w25"></asp:TextBox>
 </TD><TD style="WIDTH: 1px; HEIGHT: 26px" class="columnaData">&nbsp;</TD><TD style="WIDTH: 7px" vAlign=top rowSpan=2><asp:Button runat="server" ID="cmdAgregar" Width="102px" CssClass="Boton" Text="Agregar" Height="23px" __designer:wfdid="w26" OnClick="cmdAgregar_Click"></asp:Button>
 <asp:Button runat="server" ID="cmdModificar" Width="102px" CssClass="Boton" Text="Modificar" Height="23px" CausesValidation="False" __designer:wfdid="w27" OnClick="cmdEditar_Click"></asp:Button>
 </TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Nombre especie" Width="200px" ID="Label2" __designer:wfdid="w28"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData"><asp:TextBox runat="server" Width="200px" MaxLength="30" ID="txtNombreEspecie" __designer:wfdid="w29"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData">&nbsp;</TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Par&#225;metro de control" Width="200px" ID="Label5" __designer:wfdid="w30"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData"><uc3:TecnoPezPopUp runat="server" ID="TPPParametroControl" __designer:wfdid="w31"></uc3:TecnoPezPopUp>
 </TD><TD style="WIDTH: 1px" class="columnaData">&nbsp; </TD><TD style="WIDTH: 7px" vAlign=top rowSpan=1></TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Valor m&#225;ximo" Width="200px" ID="Label7" __designer:wfdid="w32"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData"><asp:TextBox runat="server" Width="200px" MaxLength="30" ID="txtValorMaximo" __designer:wfdid="w33"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData"><asp:RequiredFieldValidator runat="server" ErrorMessage="*" ControlToValidate="txtValorMaximo" ID="RequiredFieldValidator2" __designer:wfdid="w34"></asp:RequiredFieldValidator>
 </TD><TD style="WIDTH: 7px" vAlign=top rowSpan=1></TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Valor m&#237;nimo" Width="200px" ID="Label8" __designer:wfdid="w35"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData"><asp:TextBox runat="server" Width="200px" MaxLength="30" ID="txtValorMinimo" __designer:wfdid="w36"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData"><asp:RequiredFieldValidator runat="server" ErrorMessage="*" ControlToValidate="txtValorMinimo" ID="RequiredFieldValidator3" __designer:wfdid="w37"></asp:RequiredFieldValidator>
 </TD><TD style="WIDTH: 7px" vAlign=bottom rowSpan=2><asp:Button runat="server" ID="cmdAceptar" Width="102px" CssClass="Boton" Text="Aceptar" Height="23px" CausesValidation="False" __designer:wfdid="w38" OnClick="cmdAceptar_Click"></asp:Button>
 <asp:Button runat="server" ID="cmdCancelar" Width="102px" CssClass="Boton" Text="Cancelar" Height="23px" CausesValidation="False" __designer:wfdid="w39" OnClick="cmdCancelar_Click"></asp:Button>
 </TD></TR><TR><TD style="WIDTH: 200px" class="columnaLabels"><asp:Label runat="server" Text="Valor &#243;ptimo" Width="200px" ID="Label9" __designer:wfdid="w40"></asp:Label>
 </TD><TD style="WIDTH: 205px" class="columnaData"><asp:TextBox runat="server" Width="200px" MaxLength="30" ID="txtValorOptimo" __designer:wfdid="w41"></asp:TextBox>
 </TD><TD style="WIDTH: 1px" class="columnaData"><asp:RequiredFieldValidator runat="server" ErrorMessage="*" ControlToValidate="txtValorOptimo" ID="RequiredFieldValidator4" __designer:wfdid="w42"></asp:RequiredFieldValidator>
 </TD></TR><TR><TD style="HEIGHT: 25px" vAlign=top colSpan=2><asp:Label runat="server" CssClass="errorLabel" ID="_lblError" __designer:wfdid="w43"></asp:Label>
 <BR /><cc2:PropertyProxyValidator runat="server" ID="PPVParametro" DisplayMode="List" SetFocusOnError="True" Display="Dynamic" RulesetName="" __designer:wfdid="w44" OnValueConvert="PPVParametro_ValueConvert"></cc2:PropertyProxyValidator>
 </TD><TD style="WIDTH: 1px; HEIGHT: 25px" vAlign=top colSpan=1></TD><TD style="WIDTH: 7px; HEIGHT: 25px" vAlign=top></TD></TR><TR><TD style="HEIGHT: 25px" vAlign=top colSpan=4>&nbsp;<BR /><wuc:TecnoPezDataGrid runat="server" ID="TDGParametros" Width="100%" ForeColor="#333333" CellPadding="4" EmptyDataText="No hay resultados." CssClass="Grilla" GridLines="Vertical" __designer:wfdid="w45" OnRowCommand="TDGParametros_RowCommand" OnRowDataBound="TDGParametros_RowDataBound">
<HeaderStyle BackColor="#5D7B9D" ForeColor="White" CssClass="GrdHeader" Font-Bold="True"></HeaderStyle>

<FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True"></FooterStyle>

<SelectedRowStyle BackColor="#E2DED6" ForeColor="#333333" Font-Bold="True"></SelectedRowStyle>

<AlternatingRowStyle BackColor="White" ForeColor="#284775" CssClass="GrdAlternatingRow"></AlternatingRowStyle>

<EditRowStyle BackColor="#999999"></EditRowStyle>

<RowStyle BackColor="#F7F6F3" ForeColor="#333333" CssClass="GrdRow"></RowStyle>

<PagerStyle BackColor="#284775" ForeColor="White" CssClass="GrdPager" HorizontalAlign="Center"></PagerStyle>
</wuc:TecnoPezDataGrid>
 <BR /></TD></TR></TBODY></TABLE></asp:WizardStep>
</WizardSteps>

<SideBarButtonStyle BackColor="#507CD1" ForeColor="White" Font-Names="Verdana"></SideBarButtonStyle>

<HeaderStyle BackColor="#284E98" BorderStyle="Solid" ForeColor="White" BorderWidth="2px" BorderColor="#EFF3FB" HorizontalAlign="Center" Font-Size="0.9em" Font-Bold="True"></HeaderStyle>
</asp:Wizard> 
</ContentTemplate>
    </asp:UpdatePanel>
    <uc1:TecnoPezUpdateProgress ID="TecnoPezUpdateProgress1" runat="server" />
    
</asp:Content>
